home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BCI NET
/
BCI NET Dec 94.iso
/
archives
/
applications
/
wp
/
ags-261-030.lha
/
gs261gdevintui.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-15
|
670b
|
32 lines
typedef struct intui_device_s {
gx_device_common;
struct Window *w;
struct Screen *s;
struct RastPort *rp;
struct BitMap *supermap;
int real_depth;
gx_color_index black;
gx_color_index white;
struct DrawInfo *di;
} intui_device;
#define idev ((intui_device *)dev)
#define boolean char
#define FALSE 0
#ifndef XPPI
#define XPPI 80
#endif
#ifndef YPPI
#define YPPI 60
#endif
#define PRE_WIDTH XPPI*9 /* size of dina4 */
#define PRE_HEIGHT YPPI*12
#define SCALE 0.68
#define WIN_WIDTH 400
#define WIN_HEIGHT 400
#define PRE_BUF_WIDTH 16
#define PRE_BUF_HEIGHT 16
#define LIB_REV 37
#define STACK_SIZE 4096
#define SCROLL_UNIT 8 /* in pixels */